package com.iotteam.androidbase.commen.views.charts.line;

import android.graphics.Paint;

import com.iotteam.androidbase.commen.views.charts.AbsRenderer;

import java.util.List;

/**
 * Created by vonchenchen on 16/08/2017.
 */

public class Line {

    List<Data> mDataList;

    private AbsRenderer mRenderer;
    private Paint mPaint;

    public void setRenderer(AbsRenderer renderer){
        mRenderer = renderer;
    }

    public AbsRenderer getRenderer(){
        return mRenderer;
    }

    public void setPaint(Paint paint){
        mPaint = paint;
    }

    public Paint getPaint(){
        return mPaint;
    }

    public Line(List<Data> list){
        mDataList = list;
    }

    public void setDataList(List<Data> list){
        mDataList = list;
    }

    public List<Data> getDataList(){
        return mDataList;
    }
}
